package com.cwd.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 自主产品表
 * </p>
 *
 * @author cwd
 * @since 2017-04-06
 */
@TableName("fc_flow_product")
public class FcFlowProduct extends Model<FcFlowProduct> {

    private static final long serialVersionUID = 1L;


    /**
     * 是否连续扣费 1是0否
     */
	private Integer feetype;

    /**
     * 主键ID
     */
	private Long id;
    /**
     * 修改ip
     */
	private String updateip;
	private Integer hotflag;
	private Integer showflag;
	@TableField("app_code")
	private String appCode;
    /**
     * base产品集合,逗号隔开
     */
	private String baseids;
	@TableField("is_give")
	private Integer isGive;
	@TableField("special_note")
	private String specialNote;
	@TableField("order_succ_daily_cas_limit")
	private Integer orderSuccDailyCasLimit;
    /**
     * 支付方式 逗号分隔 (PHONE_CHARGES,HFB_BEANS,ALIPAY,WXPAY)
     */
	private String payments;
    /**
     * 状态 1可用 0不可用
     */
	private Integer status;
    /**
     * 流量值 单位MB
     */
	private Integer flowsize;
    /**
     * 是否可api调用
     */
	private Integer hasclass;
    /**
     * 订购成功后流量币获取上限
     */
	@TableField("debris_get_max_count")
	private String debrisGetMaxCount;
	@TableField("start_time")
	private Date startTime;
    /**
     * 政策类型  0正常包  1优惠包,活动包   2.赠品   3子项产品(加餐包子项)
     */
	private Integer policytype;
	@TableField("order_succ_daily_limit")
	private Integer orderSuccDailyLimit;
    /**
     * 记录短信配置字段
     */
	@TableField("sms_desc")
	private String smsDesc;
    /**
     * 对应 class的value字段，包类型标记  0流量加餐包(基础包)  1 闲时流量包  2手机上网包  3优惠产品(电信营销) 4套餐产品(自主营销)
     */
	private Integer tagtype;
    /**
     * 备注
     */
	private String comment;
    /**
     * 操作类路径
     */
	private String classpath;
	@TableField("is_daysflow")
	private Integer isDaysflow;
    /**
     * 产品特别提示
     */
	@TableField("special_tip")
	private String specialTip;
	@TableField("pay_desc")
	private String payDesc;
	@TableField("extra_params")
	private String extraParams;
    /**
     * 修改时间
     */
	private Date updatetime;
    /**
     * 是否支持找人代付 1支持
     */
	@TableField("is_instead_pay")
	private Integer isInsteadPay;
	@TableField("flow_type")
	private String flowType;
    /**
     * 订购时，使用流量币的个数上限 
     */
	@TableField("debris_use_max_count")
	private String debrisUseMaxCount;
	@TableField("order_mode")
	private String orderMode;
	@TableField("city_type")
	private Integer cityType;
	@TableField("sms_verify_content")
	private String smsVerifyContent;
    /**
     * 销售名称短语
     */
	@TableField("gift_short_name")
	private String giftShortName;
    /**
     * 产品有效期描述
     */
	@TableField("type_desc")
	private String typeDesc;
    /**
     * 是否定向
     */
	@TableField("is_directional")
	private Integer isDirectional;
	@TableField("can_backflow")
	private Integer canBackflow;
	@TableField("settlement_cycle")
	private String settlementCycle;
	@TableField("inventory_count")
	private Integer inventoryCount;
    /**
     * 记录区域类型
     */
	@TableField("region_type")
	private String regionType;
    /**
     * 优惠所属正常包id
     */
	private Long policypid;
    /**
     * 原价 单位元,两位小数处理
     */
	@TableField("old_fee")
	private String oldFee;
	@TableField("mobile_pay_type")
	private String mobilePayType;
	@TableField("img_detail")
	private String imgDetail;
    /**
     * 创建ip
     */
	private String createip;
    /**
     * 利润率
     */
	@TableField("profit_rate")
	private String profitRate;
	@TableField("order_succ_daily_mobile_limit")
	private Integer orderSuccDailyMobileLimit;
    /**
     * 产品昵称
     */
	@TableField("nick_name")
	private String nickName;
    /**
     * 创建时间
     */
	private Date createtime;
    /**
     * 成本价 单位元,两位小数处理
     */
	@TableField("cost_fee")
	private String costFee;
	@TableField("is_hot")
	private Integer isHot;
	@TableField("end_time")
	private Date endTime;
	@TableField("commission_rate")
	private String commissionRate;
    /**
     * 对应 class的value字段，包价格标记  3 5 10 20  30  50
     */
	private Integer tagfee;
    /**
     * 适用网络类型 3G,4G，ALL
     */
	private String tagnet;
    /**
     * 图片地址
     */
	private String img;
    /**
     * 价格 单位元,两位小数处理
     */
	private String fee;

	public String getUpdateip() {
		return updateip;
	}

	public void setUpdateip(String updateip) {
		this.updateip = updateip;
	}

	public Integer getHotflag() {
		return hotflag;
	}

	public void setHotflag(Integer hotflag) {
		this.hotflag = hotflag;
	}

	public Integer getShowflag() {
		return showflag;
	}

	public void setShowflag(Integer showflag) {
		this.showflag = showflag;
	}

	public String getAppCode() {
		return appCode;
	}

	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}

	public String getBaseids() {
		return baseids;
	}

	public void setBaseids(String baseids) {
		this.baseids = baseids;
	}

	public Integer getIsGive() {
		return isGive;
	}

	public void setIsGive(Integer isGive) {
		this.isGive = isGive;
	}

	public String getSpecialNote() {
		return specialNote;
	}

	public void setSpecialNote(String specialNote) {
		this.specialNote = specialNote;
	}

	public Integer getOrderSuccDailyCasLimit() {
		return orderSuccDailyCasLimit;
	}

	public void setOrderSuccDailyCasLimit(Integer orderSuccDailyCasLimit) {
		this.orderSuccDailyCasLimit = orderSuccDailyCasLimit;
	}

	public String getPayments() {
		return payments;
	}

	public void setPayments(String payments) {
		this.payments = payments;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getFlowsize() {
		return flowsize;
	}

	public void setFlowsize(Integer flowsize) {
		this.flowsize = flowsize;
	}

	public Integer getHasclass() {
		return hasclass;
	}

	public void setHasclass(Integer hasclass) {
		this.hasclass = hasclass;
	}

	public String getDebrisGetMaxCount() {
		return debrisGetMaxCount;
	}

	public void setDebrisGetMaxCount(String debrisGetMaxCount) {
		this.debrisGetMaxCount = debrisGetMaxCount;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Integer getPolicytype() {
		return policytype;
	}

	public void setPolicytype(Integer policytype) {
		this.policytype = policytype;
	}

	public Integer getOrderSuccDailyLimit() {
		return orderSuccDailyLimit;
	}

	public void setOrderSuccDailyLimit(Integer orderSuccDailyLimit) {
		this.orderSuccDailyLimit = orderSuccDailyLimit;
	}

	public String getSmsDesc() {
		return smsDesc;
	}

	public void setSmsDesc(String smsDesc) {
		this.smsDesc = smsDesc;
	}

	public Integer getTagtype() {
		return tagtype;
	}

	public void setTagtype(Integer tagtype) {
		this.tagtype = tagtype;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getClasspath() {
		return classpath;
	}

	public void setClasspath(String classpath) {
		this.classpath = classpath;
	}

	public Integer getIsDaysflow() {
		return isDaysflow;
	}

	public void setIsDaysflow(Integer isDaysflow) {
		this.isDaysflow = isDaysflow;
	}

	public String getSpecialTip() {
		return specialTip;
	}

	public void setSpecialTip(String specialTip) {
		this.specialTip = specialTip;
	}

	public String getPayDesc() {
		return payDesc;
	}

	public void setPayDesc(String payDesc) {
		this.payDesc = payDesc;
	}

	public String getExtraParams() {
		return extraParams;
	}

	public void setExtraParams(String extraParams) {
		this.extraParams = extraParams;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public Integer getIsInsteadPay() {
		return isInsteadPay;
	}

	public void setIsInsteadPay(Integer isInsteadPay) {
		this.isInsteadPay = isInsteadPay;
	}

	public String getFlowType() {
		return flowType;
	}

	public void setFlowType(String flowType) {
		this.flowType = flowType;
	}

	public String getDebrisUseMaxCount() {
		return debrisUseMaxCount;
	}

	public void setDebrisUseMaxCount(String debrisUseMaxCount) {
		this.debrisUseMaxCount = debrisUseMaxCount;
	}

	public String getOrderMode() {
		return orderMode;
	}

	public void setOrderMode(String orderMode) {
		this.orderMode = orderMode;
	}

	public Integer getCityType() {
		return cityType;
	}

	public void setCityType(Integer cityType) {
		this.cityType = cityType;
	}

	public String getSmsVerifyContent() {
		return smsVerifyContent;
	}

	public void setSmsVerifyContent(String smsVerifyContent) {
		this.smsVerifyContent = smsVerifyContent;
	}

	public String getGiftShortName() {
		return giftShortName;
	}

	public void setGiftShortName(String giftShortName) {
		this.giftShortName = giftShortName;
	}

	public String getTypeDesc() {
		return typeDesc;
	}

	public void setTypeDesc(String typeDesc) {
		this.typeDesc = typeDesc;
	}

	public Integer getIsDirectional() {
		return isDirectional;
	}

	public void setIsDirectional(Integer isDirectional) {
		this.isDirectional = isDirectional;
	}

	public Integer getCanBackflow() {
		return canBackflow;
	}

	public void setCanBackflow(Integer canBackflow) {
		this.canBackflow = canBackflow;
	}

	public String getSettlementCycle() {
		return settlementCycle;
	}

	public void setSettlementCycle(String settlementCycle) {
		this.settlementCycle = settlementCycle;
	}

	public Integer getInventoryCount() {
		return inventoryCount;
	}

	public void setInventoryCount(Integer inventoryCount) {
		this.inventoryCount = inventoryCount;
	}

	public String getRegionType() {
		return regionType;
	}

	public void setRegionType(String regionType) {
		this.regionType = regionType;
	}

	public Long getPolicypid() {
		return policypid;
	}

	public void setPolicypid(Long policypid) {
		this.policypid = policypid;
	}

	public String getOldFee() {
		return oldFee;
	}

	public void setOldFee(String oldFee) {
		this.oldFee = oldFee;
	}

	public String getMobilePayType() {
		return mobilePayType;
	}

	public void setMobilePayType(String mobilePayType) {
		this.mobilePayType = mobilePayType;
	}

	public String getImgDetail() {
		return imgDetail;
	}

	public void setImgDetail(String imgDetail) {
		this.imgDetail = imgDetail;
	}

	public String getCreateip() {
		return createip;
	}

	public void setCreateip(String createip) {
		this.createip = createip;
	}

	public String getProfitRate() {
		return profitRate;
	}

	public void setProfitRate(String profitRate) {
		this.profitRate = profitRate;
	}

	public Integer getOrderSuccDailyMobileLimit() {
		return orderSuccDailyMobileLimit;
	}

	public void setOrderSuccDailyMobileLimit(Integer orderSuccDailyMobileLimit) {
		this.orderSuccDailyMobileLimit = orderSuccDailyMobileLimit;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getCostFee() {
		return costFee;
	}

	public void setCostFee(String costFee) {
		this.costFee = costFee;
	}

	public Integer getIsHot() {
		return isHot;
	}

	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getCommissionRate() {
		return commissionRate;
	}

	public void setCommissionRate(String commissionRate) {
		this.commissionRate = commissionRate;
	}

	public Integer getTagfee() {
		return tagfee;
	}

	public void setTagfee(Integer tagfee) {
		this.tagfee = tagfee;
	}

	public String getTagnet() {
		return tagnet;
	}

	public void setTagnet(String tagnet) {
		this.tagnet = tagnet;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getFee() {
		return fee;
	}

	public void setFee(String fee) {
		this.fee = fee;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
